#include <event2/event.h>
#include <iostream>


using namespace std;

int main()
{
#ifdef  _WIN32
	//init socket lib
	WSADATA  wsa;
	WSAStartup(MAKEWORD(2,2),&wsa);
#endif
    std::cout << " test libevent!\n";
    event_base *base = event_base_new();
    if(base)
    {
	    cout << "Event_base_new success!" << endl;
    }
    return 0;
}
